Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in _cat API #4572

Closed
uboness opened this issue Dec 30, 2013 · 2 comments
Closed

Errors in _cat API #4572

uboness opened this issue Dec 30, 2013 · 2 comments
Assignees

Comments

@uboness
Copy link
Contributor

uboness commented Dec 30, 2013

executing curl -XGET localhost:9200/_cat/nodes on a node (no indices) returns:

{
   "error": "StringIndexOutOfBoundsException[String index out of range: 4]",
   "status": 500
}

All the following APIs don't work with local node:

curl -XGET localhost:9200/_cat/master
curl -XGET localhost:9200/_cat/allocation
curl -XGET localhost:9200/_cat/shards

return

{
   "error": "ClassCastException[org.elasticsearch.common.transport.LocalTransportAddress cannot be cast to org.elasticsearch.common.transport.InetSocketTransportAddress]",
   "status": 500
}
@ghost ghost assigned drewr Jan 2, 2014
@drewr
Copy link
Contributor

drewr commented Jan 2, 2014

Will fix the InetAddress problem, but I can't repro the array exception. Does it still happen for you?

@imotov
Copy link
Contributor

imotov commented Jan 3, 2014

@drewr both issues are reproducible when you start elasticsearch with -Des.node.local=true

drewr added a commit to drewr/elasticsearch that referenced this issue Jan 9, 2014
@drewr drewr closed this as completed in ca45424 Jan 9, 2014
brusic pushed a commit to brusic/elasticsearch that referenced this issue Jan 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants